package com.yuerlive.rainbow.api;

import com.yuerlive.rainbow.entity.LiveData;
import com.yuerlive.rainbow.utils.RetrofitUtil;

/**
 * Created by xiaoyi on 2017/5/23.
 */

public class LiveApi {
    public LiveService liveService;

    private LiveApi() {
        liveService = RetrofitUtil.getRetrofit().create(LiveService.class);
    }


    public static LiveApi getInstance() {
        return InnerHolder.sInstance;
    }

    private static class InnerHolder {
        public static final LiveApi sInstance = new LiveApi();
    }
}
